home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 7 / Apprentice-Release7.iso / Source Code / C / Applications / Moscow ML 1.42 / src / !runtime / globals.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-08-18  |  1.2 KB  |  32 lines  |  [TEXT/R*ch]

  1. /* ML global variables reachable from C. */
  2.  
  3. #ifndef _globals_
  4. #define _globals_
  5.  
  6.  
  7. #include "mlvalues.h"
  8.  
  9. extern value global_data;
  10.  
  11. #define GLOBAL_DATA 0           /* "meta","global_data" */
  12. #define SYS__S_IRUSR 1          /* "sys","s_irusr" */
  13. #define SYS__S_IWUSR 2          /* "sys","s_iwusr" */
  14. #define SYS__S_IXUSR 3          /* "sys","s_ixusr" */
  15. #define SYS__S_IRGRP 4          /* "sys","s_irgrp" */
  16. #define SYS__S_IWGRP 5          /* "sys","s_iwgrp" */
  17. #define SYS__S_IXGRP 6          /* "sys","s_ixgrp" */
  18. #define SYS__S_IROTH 7          /* "sys","s_iroth" */
  19. #define SYS__S_IWOTH 8          /* "sys","s_iwoth" */
  20. #define SYS__S_IXOTH 9          /* "sys","s_ixoth" */
  21. #define SYS__S_ISUID 10         /* "sys","s_isuid" */
  22. #define SYS__S_ISGID 11         /* "sys","s_isgid" */
  23. #define SYS__S_IRALL 12         /* "sys","s_irall" */
  24. #define SYS__S_IWALL 13         /* "sys","s_iwall" */
  25. #define SYS__S_IXALL 14         /* "sys","s_ixall" */
  26. #define SYS__COMMAND_LINE 15    /* "sys","command_line" */
  27. #define SYS__INTERACTIVE 16     /* "sys","interactive" */
  28. #define SYS__MAX_STRING_LENGTH 17 /* "sys","max_string_length" */
  29. #define SYS__MAX_VECT_LENGTH 18   /* "sys","max_vect_length" */
  30.  
  31. #endif /* _globals_ */
  32.